At a glance
Two balls in the same spring well are released from rest at different distances from the centre. The sim records both motions, so you can test what sets the time of one oscillation, the quantity a clock counts.
What you'll learn
- How the period depends on the release distance, the amplitude A.
- How the spring constant k and the mass m enter the period.
- How the energy and the top speed depend on A.
- Which force law gives simple harmonic motion, and what makes it special.
What's on screen
- Violet curve: the spring's potential energy V = ½kx² against position x.
- Ball 1 (cyan) moves along the x axis. Its dot on the curve marks its potential energy; the arrow is the spring's pull on it.
- Ball 2 (amber): the same, released from its own distance.
- Dashed lines: each ball's total energy E. The ball turns round where its line meets the curve.
- x(t) chart: each ball's position over the last 6 s, with faint lines at ±A.
- Readouts: the periods T₁ and T₂. The Energy ledger lists each ball's KE, PE and E.
The controls
Press ⌖ on a row to see where that control sits in the sim. Moving any slider releases both balls from rest again.
| Control | What it changes | Range | |
|---|---|---|---|
| Spring constant k | How stiff the spring is: the pull is k newtons for every metre from the centre. | 5–40 N/m opens at 20 | |
| Mass m | The mass of each ball. Both balls always share it. | 0.2–2 kg opens at 0.50 | |
| Compare two amplitudes | Shows ball 2 with its own release distance. Off, only ball 1 swings. | on / off opens on | |
| Amplitude A₁ | How far from the centre ball 1 is released. | 0.15–0.70 m opens at 0.30 | |
| Amplitude A₂ | How far from the centre ball 2 is released. | 0.15–0.70 m opens at 0.60 | |
| Show x(t) chart | Shows or hides the chart recorder under the well. | on / off opens on | |
| Readouts | The period of each ball, T₁ and T₂, in seconds. | panel | |
| ⚡ Energy ledger | KE, PE and total E for each ball, plus bars for the two balls' combined KE and PE. | panel opens closed | |
| ▶ Play / ⏸ Pause | Runs the motion, or freezes both balls where they are. | top bar | |
| Speed | Plays the motion faster or slower on screen. The physics and the period stay the same. | 0.25×–4× opens at 0.25× | |
| ↻ Reset | Restarts the mode you are in from its beginning. | top bar |
Fixed: the force is always F = −kx, with no friction, so the swings never die away.
Both balls keep the same time
Release ball 1 from 0.30 m and ball 2 from 0.60 m, with k = 20 N/m and m = 0.50 kg. Ball 2 travels twice as far, yet both finish each cycle together: T₁ = T₂ = 0.993 s.
- On the x(t) chart the two traces cross zero together, cycle after cycle. The amber trace is the cyan one stretched to twice the height.
- This holds for any pair of amplitudes the sliders allow, and at any k and m.
Why the amplitude cancels
- The spring's pull grows in proportion to distance: twice as far, twice the pull. At release, with k = 20 N/m, that is 6 N on ball 1 and 12 N on ball 2.
- So ball 2 has twice the acceleration of ball 1 at every matching point of the swing. Twice the distance, covered with twice the push, takes the same time.
- Its whole motion is ball 1's motion scaled up by A₂/A₁. The amplitude only multiplies the solution:
This only works because the force is linear in x. A force that grows faster or slower than x leaves the amplitude in the period (see section 07).
The spring and the mass set the period
- Stiffer spring, shorter period: T ∝ 1/√k. Doubling k from 20 to 40 N/m takes T from 0.993 s to 0.702 s.
- Heavier ball, longer period: T ∝ √m. The spring's pull, −kx, has no m in it, so more mass means less acceleration. Four times the mass doubles T: 0.50 → 2.00 kg takes it to 1.99 s.
These sliders move the sim too.
Across the sliders' ranges, T runs from 0.44 s (k = 40 N/m, m = 0.2 kg) to 3.97 s (k = 5 N/m, m = 2 kg).
The amplitude sets the energy
- The amplitude fixes the energy, E = ½kA², and the turning points, x = ±A.
- Energy grows as A²: at k = 20 N/m, ball 1 (0.30 m) has 0.90 J and ball 2 (0.60 m) has 3.60 J, four times as much.
- All of it is potential energy at x = ±A and all kinetic at x = 0, where each ball is fastest.
Ball 2 crosses the centre at twice ball 1's speed (3.79 m/s against 1.90 m/s at the defaults). Twice the distance at twice the speed: the same time.
Where it matters
- Watches. A watch's balance wheel turns against a hairspring whose torque grows with the twist. Its period stays nearly constant as the swing shrinks while the mainspring runs down.
- Musical pitch. A tuning fork keeps the same pitch as its note fades: for small vibrations the period does not depend on the amplitude.
- Weighing astronauts. Scales do not work in orbit. On Skylab, astronauts sat in a chair on springs and timed its oscillation; T = 2π√(m/k) then gives the mass, once the chair's own mass is taken off.
Go deeper: a well where the amplitude does matter
- In a V-shaped well the pull does not grow with distance, so a wider swing gets no extra push and takes longer: T ∝ √A. The sim does not run this well.
- With F₀ ≈ 4.86 N, a 0.30 m release matches the spring's 0.993 s, but a 0.60 m release takes √2 times longer, 1.40 s.
- A pendulum is in between: its pull grows as sin θ, slower than θ, so wide swings take longer.
Summary
Key points
- Balls released from different distances in one spring well keep exactly the same time.
- The pull grows in proportion to distance, so the extra push exactly pays for the extra distance.
- T grows as √m and falls as 1/√k.
- E = ½kA²: double the amplitude, four times the energy, twice the top speed, same period.
Common mix-ups
- "A bigger swing takes longer." Not in a spring well. It is true only where the pull grows more slowly than the distance, as for a wide pendulum swing.
- "A heavier ball is pulled harder, so it oscillates faster." The pull −kx has no m in it. More mass means less acceleration and a longer period.
- "More energy means a slower cycle." Energy sets how far and how fast, not how long.
Things to try on your own
- Set A₁ = 0.15 m and A₂ = 0.70 m, and check that the two traces still cross zero together.
- Set k = 40 N/m, then find the mass that brings T back to 0.993 s.
- Open the Energy ledger, pause anywhere, and compare the two balls' KE.